package com.cxx.purchasecharge.dal;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.cxx.purchasecharge.core.model.UserAuthority;
import com.cxx.purchasecharge.core.model.persistence.User;

public interface UserDaoPlus
{
    public List <User> findByName (String name);

    Page <User> findByFuzzy (Pageable pageable, String searchKey);

    List <UserAuthority> findUserAuthorityByUserId (String userId);

}
